console.log("加载成功");

requirejs.config({
    paths: {
        "jquery": "jquery-1.11.3",
        "jquery-cookie": "jquery.cookie",
        // "layer": "../libs/layer/layer",
        "layui": "../libs/layui/layui",
        "signin": "signin",
        "address": "address",
        "header": "header"
    },
    shim: {
        "jquery-cookie": ["jquery"]
    }
});

requirejs(["address", "signin", "header"], function (address, signin, header) {
    address.meneTab();
    address.setLocation();
    address.setNewAddress();
    address.getUserAddress();
    address.alterAddress();

    //
    signin.checkSignIn();
    //
    header.allGoodsTab();
    header.usersTab();
    header.cartTab();
});